/*
 * Yabumi, a 2d scrolling shoot-em-up game.
 * Copyright (C) 2003 Gemma Teruaki <terugen@yabumi.com>
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.

 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,
 */

#ifndef _RADAR_H_
#define _RADAR_H_

/* includes begin */ 
#ifndef _TASKMANAGER_H_
/* need ONETIME_COUNT task _option _tasklist*/
#include "../taskmanager.h"
#endif
#ifndef _VIDEO_H_
/* need _Camera */
#include "../video.h"
#endif
/* need SDL_Surface */
#include <SDL.h>

/* includes end */

/* constants begin */
#define LOCKON_SIGHT_DISTANSE 100
/* constants end */

/* typedef begin */
/* typedef end */

/* Global Objects */
extern _Camera Camera;
extern SDL_Surface *Sprite_Radar[1];
extern SDL_Surface *Sprite_Radar_Arrow[3][360];
extern SDL_Surface *Sprite_Radar_Arrow_Long[1][360];
extern SDL_Surface *Sprite_Radar_Item[2];
extern SDL_Surface *Sprite_Radar_Sight[3];

/* !!!circular reference!!! */
/* extern _listheader hitcircle_list_header; */
/* extern _listheader item_list_header; */

/* Prototypes from the radar.c file. */
task Radar_Draw(_option *optv);
#endif
